<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
 <%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <base href="<%=basePath%>">
<title>龙翔收银系统</title>
</head>
<body><s:property value="#session.user"/>
<s:if test="#session.user!=null"><jsp:forward page="main/index.jsp"></jsp:forward></s:if><s:else>
<jsp:forward page="main/login.jsp"></jsp:forward></s:else>
</body>
</html>
